from numpy import random

def make_data(length):      #length为生成数据的规模
    base = list(range(1, length + 1))  # 生成数据的范围1~length
    groundtruth = base.copy()  # 数据的正确排序
    random.seed()
    random.shuffle(base)
    return base, groundtruth